package com.sunshine.lnuplus.viewModel

import android.app.Application
import com.sunshine.lnuplus.base.BaseViewModel
import com.sunshine.lnuplus.model.room.Lesson
import com.sunshine.lnuplus.model.room.TimetableRepository

/**
 * Created by sunshine on 2020/3/11
 */

class WelcomeFourViewModel(application: Application) : BaseViewModel(application) {

    val repository: TimetableRepository = TimetableRepository(application)

    fun getAllLesson() : List<Lesson> {
        return repository.getLesson()
    }
}